.main {
    padding: 70px 5px 5px 5px;
    overflow: hidden;
}
    
.block {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
}

.article {
    width: 870px;
    min-height: 720px;
    box-sizing: border-box;
    padding: 15px;

    .article-title {
        text-align: center;
        font-size: 22px;
        margin: 10px 0;
    }
    .top {
        text-align: center;
        .nums {
            color: #b2b2b2;
            .icon {
                margin-left: 5px;
            }
        }
        .tags {
            margin-top: 20px;
        }
    }
    #content {
        line-height: 1.5;
        h1, h2, h3, h4, h5, h6 {
            margin: 10px 0;
        }
    }
}

.right {
    float: right;
    width: 300px;
    box-sizing: border-box;

    .block {
        padding: 20px;

        h3 {
            font-size: 18px;
            border-bottom: 1px solid #e6e6e6;
            padding-bottom: 18px;
            position: relative;
            margin-bottom: 8px;

            a {
                font-size: 14px;
                color: #aaa;
                float: right;
                margin-right: 10px;
            }
        }

        ul {
            li {
                text-indent: 1.5em;
                position: relative;

                a {
                    width: 260px;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    white-space: nowrap;
                    display: block;
                    line-height: 36px;
                    font-size: 14px;
                    color: #1b1b1b;;

                    &:hover {
                        color: #109d59;
                    }
                }

                &:before {
                    content: "";
                    display: block;
                    width: 5px;
                    height: 5px;
                    border-radius: 50%;
                    position: absolute;
                    top: 16px;
                    left: 3px;
                    background: #109d59;
                }
            }
        }
    }

    .user-box.block {
        padding: 0;
    }
}

.comments {
    width: 870px;
    padding: 15px;
    box-sizing: border-box;

    .comment-box {
        textarea {
            height: 100px;
            background-color: #fafafa;
            border-radius: 5px;
            padding: 10px 15px;
            resize: none;
            outline: none;
            border: solid 1px #f0eff0;
            width: 100%;
            box-sizing: border-box;
        }
        .comment-btn {
            margin-top: 10px;
            text-align: right;
            button {
                width: 80px;
                height: 36px;
                border-radius: 5px;
                color: #fff;
                vertical-align: middle;
                line-height: 36px;
                text-align: center;
                background: #f68344;
                font-size: 16px;
                border: none;
                outline: none;
                cursor: pointer;
                &:hover {
                    background-color: #e67233;
                }
            }
        }
    }
    h2 {
        font-size: 18px;
        text-indent: 5px;
        margin-bottom: 10px;
        line-height: 30px;
        position: relative;

        &:before {
            content: "";
            width: 4px;
            height: 20px;
            background: #f68344;
            margin-top: 5px;
            float: left;
        }
    }
    .comment {
        padding: 15px 20px;
        border-top: solid 1px #e5e5e5;

        .avatar {
            width: 60px;
            border-radius: 50%;
            vertical-align: top;
        }
        .top-right {
            display: inline-block;
            margin-left: 10px;
            margin-top: 10px;
            line-height: 1.5;
            .nickname {
                color: #333;
            }
            .time {
                font-size: 14px;
                color: #888;
                margin-left: 10px;
            }
        }
        .body {
            font-size: 14px;
            margin: 8px;
        }
    }
}